<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Spring boot demo</title>
</head>
<body>
<h2>万水千山总是情</h2>
<h3>nosql：<span th:text="${msg}" style="color: green"></span></h3>
<!--注意thymeleaf格式严格，不允许欠缺-->
<h3>mysql：<span th:text="${user}" style="color: red"></span></h3>
<h3 th:text="#{welcome}"></h3>
</body>
</html>